home *** CD-ROM | disk | FTP | other *** search
- Path: news.mcs.net!usenet
- From: stevecoh.mcs.com
- Newsgroups: comp.lang.c++
- Subject: doubly dimensioned arrays
- Date: 18 Jan 1996 13:54:12 GMT
- Organization: MCSNet Internet Services
- Message-ID: <4dlje4$bnf@News1.mcs.net>
- NNTP-Posting-Host: stevecoh.pr.mcs.net
- X-Newsreader: AIR News 3.X (SPRY, Inc.)
-
- how must the variable p be declared so that the following code
- int m,n; ... p=new int[m][n]; ... p[m][n]
- gives the expected result, that is the int at the nth column of the mth
- row?
- Incidentally can anyone explain to me why my previous attempts to post
- this message were truncated?
- I put all the code tersely in one row here because in my previous
- attempts the second lines and everything else were left off.
-
-
-